home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 August (Alt) / CHIP 2005-08.1.iso / program / guvenlik / syslinux-3.07.exe / README.menu < prev    next >
Encoding:
Text File  |  2005-01-03  |  2.9 KB  |  95 lines

  1. $Id: README.menu,v 1.4 2005/01/04 02:07:23 hpa Exp $
  2.  
  3. There are two menu systems included with SYSLINUX, the advanced menu
  4. system, and the simple menu system.
  5.  
  6.  
  7. +++ THE ADVANCED MENU SYSTEM +++
  8.  
  9. The advanced menu system, written by Murali Krishnan Ganapathy, is
  10. located in the menu/ subdirectly.  It allows the user to create
  11. hierarchial submenus, dynamic options, checkboxes, and just about
  12. anything you want.  It requires that the menu is compiled from a
  13. simple C file, see menu/simple.c and menu/complex.c for examples.
  14.  
  15. The advanced menu system doesn't support serial console at this time.
  16.  
  17. See menu/README for more information.
  18.  
  19.  
  20. +++ THE SIMPLE MENU SYSTEM +++
  21.  
  22. The simple menu system is a single module located at
  23. com32/modules/menu.c32.  It uses the same configuration file as the
  24. regular SYSLINUX command line, and displays all the LABEL statements.
  25.  
  26. To use the menu system, simply make sure menu.c32 is in the
  27. appropriate location for your boot medium (the same directory as the
  28. configuration file for SYSLINUX, EXTLINUX and ISOLINUX, and the same
  29. directory as pxelinux.0 for PXELINUX), and put the following options
  30. in your configuration file:
  31.  
  32. DEFAULT menu.c32
  33. PROMPT 0
  34.  
  35.  
  36. There are a few menu additions to the command line, all starting with
  37. the keyword MENU; like the rest of the SYSLINUX config file
  38. language, it is case insensitive:
  39.  
  40. MENU TITLE title
  41.  
  42.     Give the menu a title.  The title is presented at the top of
  43.     the menu.
  44.  
  45. MENU LABEL label
  46.  
  47.     (Only valid after a LABEL statement.)
  48.     Changes the label displayed for a specific entry.  This allows
  49.     you to have a label that isn't suitable for the command line,
  50.     for example:
  51.  
  52.     # Soft Cap Linux
  53.     LABEL softcap
  54.         MENU LABEL Soft Cap ^Linux 9.6.36
  55.         KERNEL softcap-9.6.36.bzi
  56.         APPEND whatever
  57.  
  58.     # A very dense operating system
  59.     LABEL brick
  60.         MENU LABEL ^Windows CE/ME/NT
  61.         KERNEL chain.c32
  62.         APPEND hd0 2
  63.  
  64.     The ^ symbol in a MENU LABEL statement defines a hotkey.
  65.     The hotkey will be highlighted in the menu and will move the
  66.     menu cursor immediately to that entry.
  67.  
  68. MENU HIDE
  69.  
  70.     (Only valid after a LABEL statement.)
  71.     Suppresses a particular LABEL entry from the menu.
  72.  
  73.  
  74. MENU DEFAULT
  75.  
  76.     (Only valid after a LABEL statement.)
  77.     Indicates that this entry should be the default.  If no
  78.     default is specified, use the first one.
  79.  
  80.  
  81. The menu system honours the TIMEOUT command; if TIMEOUT is specified
  82. it will execute the ONTIMEOUT command if one exists, otherwise it will
  83. pick the default menu option.
  84.  
  85. Normally, the user can press [Tab] to edit the menu entry, and [Esc]
  86. to return to the SYSLINUX command line.  However, if the configuration
  87. file specifies ALLOWOPTIONS 0, these keys will be disabled.
  88.  
  89. The simple menu system supports serial console, using the normal
  90. SERIAL directive.  However, it can be quite slow over a slow serial
  91. link; you probably want to set your baudrate to 38400 or higher if
  92. possible.  It requires a Linux/VT220/ANSI-compatible terminal on the
  93. other end.
  94.  
  95.